package com.vhall.component.service.room;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vhall.component.entity.room.entity.RoomProdRelationEntity;

import java.util.List;

/**
* @author a1111
* @description 针对表【room_prod_relation(房间和产品的关联表,适当性豁免和观看范围限定)】的数据库操作Service
* @createDate 2023-10-23 12:03:57
*/
public interface RoomProdRelationService extends IService<RoomProdRelationEntity> {
    /**
     * 将私募产品和房间/草稿构建关联
     * @param exemptProdCodes 要关联的私募产品
     * @param roomDraftRecordId 草稿id
     * @param roomId 房间id
     * @param ilId 房间id
     * @param roomAssociationType 关联类型
     */
    void relationRoomToGuoxinProd(List<String> exemptProdCodes, Integer roomDraftRecordId, String roomId, Integer ilId, Integer roomAssociationType);
}
